import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/home_page'
import Class from '@/components/classify'
import Hredline from '@/components/headline'
import Shop from '@/components/the_shopping_cart'
import My from '@/components/my'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home_page',
      component: Home
    }, {
      path: '/class',
      name: 'class',
      component: Class
    },
    {
      path: '/hredline',
      name: 'hredline',
      component: Hredline
    },
    {
      path: '/shop',
      name: 'shop',
      component: Shop
    },
    {
      path: '/my',
      name: 'my',
      component: My
    }
  ]
})
